package com.ks.core.framework.cpsupload.demos.pay1;

import com.ks.core.framework.cpsupload.demos.pay.PaymentChannel;
import com.ks.core.framework.cpsupload.demos.pay.PaymentOperation;

// 支付参数基类体系
public abstract class BasePaymentParams {
    protected final PaymentChannel channel;
    protected final PaymentOperation operation;

    protected BasePaymentParams(PaymentChannel channel, PaymentOperation operation) {
        this.channel = channel;
        this.operation = operation;
    }

    // 通用验证方法
    public abstract void validate();
}